﻿<%@ Page Language="VB" MasterPageFile="~/MainLayout.master" AutoEventWireup="false" CodeFile="DocRentTakeUp.aspx.vb" Inherits="DocRentTakeUp" title="Untitled Page" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>
       Preparation For New Take-Up/Renewal (RENT)</h1>
    <hr />
    <asp:Label ID="lblStaffUID" runat="server" Visible="false" />
    <asp:Label ID="lblStaffType" runat="server" Visible="false" />
    <asp:Label ID="lblDocId" runat="server" Visible="false" />
    <asp:Label id="lblTransactionId" runat="server" Visible="false" />
    <div  runat="server" id="divError" class="msg-box-error" visible="false" enableviewstate="false">
    
        <span class="title">Error</span><br />
        <asp:Label ID="lblMsgError" runat="server" Text="ERROR" />
        </div>
<div  runat="server" id="divSuccessful" class="msg-box-success" visible="false" enableviewstate="false">
    
        <span class="title">Successful</span><br />
        <asp:Label ID="lblMsgSuccessful" runat="server" Text="Success" />
    
</div>
    <p><%--Description of the page--%></p>
    <asp:Panel ID="pnlEntry" runat="server">
    <div class="form-container" id="divContentGeneral">
        <table width="100%"><tr><td class="General-info-title" style="width:150px;"><h3>General Information</h3></td><td><div class="General-info-title-line"></div></td></tr></table>
        <table class="form-table" cellpadding="5" cellspacing="5">
            <tr>
                <th scope="row" style="width: 250px">
                    Open File Ref :
                </th>
                <td>
                    <asp:DropDownList ID="ddlOpenRefNo" runat="server" Width="300px" /><asp:Button ID="btnRefresh" runat="server" Text="Refresh" />
                    <span style="color: Red">*</span><asp:RequiredFieldValidator runat="server" ID="rfvddlOpenRefNo" ControlToValidate="ddlOpenRefNo" ValidationGroup="Entry" ErrorMessage="Required" ForeColor="Red"
                    SetFocusOnError="true" Display="Dynamic" Width="180px" />
                </td>
            </tr>
            <tr>
                <th scope="row" style="width: 250px">
                    Report Title :
                </th>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" Width="300px" Rows="2" TextMode="MultiLine" /><span style="color: Red">*</span>
                    <asp:RequiredFieldValidator runat="server" ID="rfvtxtTitle" ControlToValidate="txtTitle" ValidationGroup="Entry" ErrorMessage="Required" ForeColor="Red"
                    SetFocusOnError="true" Display="Dynamic" Width="180px" />
                </td>
            </tr>           
        </table>
        <br />
        <asp:Panel ID="pnlDetails" runat="server" >
   <div class="General-info-Container">  
<table>
    <tr>
        <td colspan="2">                         
             <div class="General-info-Container" id="divGeneralInfo" style="">
                        <table style="width:100%;" >
                            <tr><td style="width:160px;"><div class="General-info-title"><h3>General Information </h3></div></td>
                            <td><div class="General-info-title-line"></div></td>
                         </tr></table>
                        
                            <table class="General-info-table" cellpadding="5" cellspacing="5" width="100%">
                            <tbody>
                                <tr>
                                    <th scope="row" >Category :</th>
                                    <td><asp:Label ID="lblTransact" runat="server" Font-Size="12px" /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >REN :</th>
                                    <td><asp:Label ID="lblTransactBy" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Lister :</th>
                                    <td><asp:Label ID="lblListBy" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Date :</th>
                                    <td><asp:TextBox ID="txtDate" runat="server" Width="300px" onKeyPress="javascript: return false;" onPaste="javascript: return false;" />
                                        <asp:ImageButton runat="Server" ID="imgDateCal" AlternateText="Click to show calendar" ImageUrl="~/images/style01/Btn-calendar.png" />
                                        <cc1:CalendarExtender ID="ceDate" runat="server" Format="dd-MMM-yyyy" TargetControlID="txtDate" PopupButtonID="imgDateCal" />
                                    </td>
                                </tr>                                
                                <tr>
                                    <th scope="row" >Premise No :</th>
                                    <td><asp:Label ID="lblPremise" runat="server" Font-Size="12px"  /></td>
                                </tr>                                
                                <tr>
                                    <th scope="row" >Monthly Rental :</th>
                                    <td><asp:Label ID="lblMonthlyRental" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Duration :</th>
                                    <td><asp:Label ID="lblDuration" runat="server" /> <asp:Label ID="lblDurationType" runat="server" />(s) with an option to renew for another 
                                    <asp:textbox ID="txtAnother" runat="server" /> <asp:DropDownList ID="ddlModeOfPayment" runat="server">
                                        <asp:ListItem Text="year" Value="year" />
                                        <asp:ListItem Text="month" Value="month" />
                                        <asp:ListItem Text="day" Value="day" />                                  
                                        </asp:DropDownList>(s) at a monthly rental to be mutually agreed <asp:DropDownList ID="ddlUpon" runat="server">
                                        <asp:ListItem Text="upon" Value="upon" />
                                        <asp:ListItem Text="at" Value="at" />
                                        </asp:DropDownList> an increase rate not exceeding <asp:textbox ID="txtIncrease" runat="server" />% of the last rental.
                                    </td>
                                </tr>
                                <tr>
                                    <th scope="row" >Commencement Date :</th>
                                    <td><asp:Label ID="lblCommencementDate" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Use of Premise :</th>
                                    <td><asp:Label ID="lblUseOfPremise" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Termination Clause :</th>
                                    <td><asp:Label ID="lblTerminationClause" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Rent Free Period :</th>
                                    <td><asp:Label ID="lblRentFreePeriod" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Requisition :</th>
                                    <td><asp:Label ID="lblRequisition" runat="server" Font-Size="12px"  /></td>
                                </tr>                                                          
                                </tbody>
                            </table>
                        </div>
        </td>
    </tr>
    <tr>
        <td width="48%">
             <div class="General-info-Container" id="divLandlord" runat="server">
                        <table style="width:100%;" >
                            <tr><td style="width:150px;"><div class="General-info-title"><h3>Landlord Information</h3></div></td>
                                <td><div class="General-info-title-line"></div></td>
                            </tr></table>

                        <table class="General-info-table" cellpadding="5" cellspacing="5" width="100%">
                                <tr>
                                    <th scope="row" >Landlord's/Company Name :</th>
                                    <td><asp:Label ID="lblLName" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >NRIC/Company No :</th>
                                    <td><asp:Label ID="lblLNRIC" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Address :</th>
                                    <td><asp:Label ID="lblLAddress" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Contact Person :</th>
                                    <td><asp:Label ID="lblContacPerson" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Telephone No :</th>
                                    <td><asp:Label ID="lblLTel" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Fax No :</th>
                                    <td><asp:Label ID="lblLFax" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Mobile :</th>
                                    <td><asp:Label ID="lblMobile" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Viewing/Meeting/Teleconversation :</th>
                                    <td><asp:Label ID="lblVMT" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Agency Fee :</th>
                                    <td><asp:Label ID="lblAgencyFee" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" ><asp:label ID="lblGovPercent" runat="server" />% Gov Tax :</th>
                                    <td><asp:Label ID="lblGovTax" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Preparation of TA :</th>
                                    <td><asp:Label ID="lblLTA" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Stamping Fee :</th>
                                    <td><asp:Label ID="lblLStampingFee" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Bank Account No :</th>
                                    <td><asp:TextBox ID="txtBankAcc" runat="server" Width="150px" /></td>
                                </tr>
                                <tr>
                                    <th></th>
                                    <td></td>
                                </tr>                                
                            </table>
                        </div>
        </td>
        <td width="48%">
              <div class="General-info-Container" id="divTenant" runat="server">
                        <table style="width:100%;" >
                            <tr><td style="width:150px;"><div class="General-info-title"><h3>Tenant Information</h3></div></td>
                                <td><div class="General-info-title-line"></div></td>
                            </tr></table>

                        <table class="General-info-table" cellpadding="5" cellspacing="5" width="100%">
                                <tr>
                                    <th scope="row" >Tenant's/Company Name :</th>
                                    <td><asp:Label ID="lblTName" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >NRIC/Company No :</th>
                                    <td><asp:Label ID="lblTNRIC" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Address :</th>
                                    <td><asp:Label ID="lblTAddress" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Contact Person :</th>
                                    <td><asp:Label ID="lblTContactPerson" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Telephone No :</th>
                                    <td><asp:Label ID="lblTTelNo" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Fax No :</th>
                                    <td><asp:Label ID="lblTFaxNo" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Mobile :</th>
                                    <td><asp:Label ID="lblTMobile" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Viewing/Meeting/TeleConversation :</th>
                                    <td><asp:Label ID="lblTVMT" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" ><asp:label ID="lblDepositMonth" runat="Server" /> Deposit :</th>
                                    <td><asp:Label ID="lblDeposit" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" ><asp:label ID="lblAdvanceMonth" runat="server" /> Advance :</th>
                                    <td><asp:Label ID="lblAdvance" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Water & Electricity Deposit :</th>
                                    <td><asp:Label ID="lblTWEDeposit" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Agreed Disbursement :</th>
                                    <td><asp:Label ID="lblDisbursement" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Preparation of TA :</th>
                                    <td><asp:Label ID="lblTTA" runat="server" Font-Size="12px"  /></td>
                                </tr>
                                <tr>
                                    <th scope="row" >Stamping Fee :</th>
                                    <td><asp:Label ID="lblTStampingFee" runat="server" Font-Size="12px"  /></td>
                                </tr>                                 
                            </table>
                        </div>            
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <table class="General-info-table" cellpadding="5" cellspacing="5" width="100%">
                            <tbody>
                                <tr>
                                    <th scope="row" >Referral Fees :</th>
                                    <td><asp:Label ID="lblReferralFee" runat="server" Font-Size="12px"  /></td>
                                </tr>                                                                               
                            </tbody>
                            </table>
                        </div>
        </td>
    </tr>   
</table>
</div>
        <div class=" form-entry-title" style="line-height:15px; margin-bottom:0px; margin-top:15px;"><span style="color: Red; font-size:10px;"><asp:Label id="lblUpdated" runat="Server" /></span></div>
    <div class="Confirmation-Container">
        <div class="Confirmation-Container">
        <table width="100%" style="margin-left:0px;">
                        <tr>
                            <td style="width:  620px"><div class="General-info-title-line"></div></td>
                            <td style="width:350px;">                                 
                               &nbsp;<asp:Button ID="btnBack" runat="server" Text="Back"  CssClass="search-btn" Width="60px"  />
                                &nbsp;<asp:Button ID="btnPreview" runat="server" Text="Preview"  CssClass="search-btn" Width="60px"  />
                                &nbsp;<asp:Button ID="BtnSave" runat="server" Text="Save" ValidationGroup="Entry" CssClass="search-btn" Width="80px"  />                            
                                 &nbsp;<asp:Button ID="btnDownload" runat="server" Text="Download" ValidationGroup="Entry" CssClass="search-btn" Width="80px"  />
                                <cc1:ConfirmButtonExtender ID="CBEBack" runat="server" TargetControlID="btnBack" />
                                <cc1:ConfirmButtonExtender ID="CBEDownload" runat="server" TargetControlID="btnDownload" />
                            </td>
                            <td><div class="General-info-title-line"></div></td>
                        </tr>
                    </table>
                    <div class=" form-entry-title" style="line-height:15px; margin-bottom:0px; margin-top:15px;"><span style="color: Red; font-size:10px;">*Required fields</span></div>
    </div> 
    </asp:Panel>
    </div>    
    </div>   
    </asp:Panel>
    <asp:Panel ID="pnlPreview" runat="server">
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" ShowToolBar="false" width="100%" Height="1000px">
        <%--<LocalReport ReportPath="\Projects\Development\LSKBeta\report\rptDocRentTakeUp.rdlc">--%>
            <%--<DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                    Name="dsMonthlyReport_AW_MonthlyReport" />
            </DataSources>--%>
    <%--</LocalReport>--%>
    </rsweb:ReportViewer>
    <%--<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="GetData" TypeName="dsMonthlyReportTableAdapters.">
    </asp:ObjectDataSource>--%>
    <asp:Button ID="btnBackEntry" runat="server" text="Back" CssClass="search-btn" Width="60px" />
    </asp:Panel>
</asp:Content>


